//
//  GenericTableViewController.h
//  ClinicalCollections
//
//  Created by janakiraman gopinath on 12/29/12.
//  Copyright (c) 2012 GOPI. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "CommonAPI.h"

@interface GenericTableViewController : UITableViewController
@property (nonatomic, weak) Search *search;
@property (nonatomic, strong) NSArray *annotations;
@property (nonatomic, strong) NSArray *locationAnnotations;
@property (nonatomic, strong) NSIndexPath *lastIndexPath;
@property (nonatomic) NSUInteger searchIndex;
@property (nonatomic, strong) NSMutableDictionary *filteredListContent;
@property (nonatomic) BOOL filterSet;
@property (weak, nonatomic) IBOutlet UIBarButtonItem *refresh;

- (void) refreshMap:(id) clinicalCollectionsViewController
       forIndexPath:(NSIndexPath *)indexPath;
/*- (void) loadSearchinContext:(NSManagedObjectContext *) context
                 seachString:(NSString *) searchString
                  identifier:(NSString *) identifier;*/
- (IBAction) refresh:(UIBarButtonItem *)sender;

@end
